package com.zzr.demo.redis.service;

import java.util.List;
import java.util.Set;

/**
 * @author: xiaomi
 * @date: 2021/10/9
 * @description: 排行榜
 */
public interface RankingListService {

    boolean addItem(String name, int score);

    /**
     * 获取倒序的排行
     *
     * @return
     */
    List<String> getRevRankingList();
}
